import { default as request, cloud } from '@/framework/utils/request'

export default ({
  // 获取密码规则配置
  getPwdRules: (data) => {
    return request({
      url: cloud.dqbasic + '/pwdConfig/getPwdConfig',
      method: 'get'
    })
  },
  // 修改密码规则配置
  updatePwdRules: (data) => {
    return request({
      url: cloud.dqbasic + '/pwdConfig/updatePwdConfig',
      method: 'post',
      data
    })
  }

})
